<template>
  <div>
    <manager v-show="shownum==1"></manager>
    <fenpei  v-show="shownum==2"></fenpei>
    <FenPei_jdcheck  v-show="shownum==3"></FenPei_jdcheck>
    <download  v-show="shownum==4"></download>
  </div>
</template>
<script>
export default {
    components: {
      manager: () => import("./manager.vue"),
      fenpei: () => import("./FenPei.vue"),
      FenPei_jdcheck: () => import("./FenPei_jdcheck.vue"),
      download: () => import("./download.vue"),
    },
    data() {
      return {
        taskid:'',
        shownum:1,
      }
    },
    mounted() {
      this.$mitt.$off("task_manager_show").$on('task_manager_show', (shownum) => {
        this.shownum=shownum
      })
    },
}
</script>